package com.fh.shop.admin.mapper.user;

import com.fh.shop.admin.po.user.User;
import com.fh.shop.admin.param.user.UserQueryParam;
import com.fh.shop.admin.po.user.UserItem;

import java.util.List;

public interface IUserMapper {
    void addUser(User user);

    Long findCount(UserQueryParam userQueryParam);

    List<UserItem> findUserList(UserQueryParam userQueryParam);

    UserItem findUserById(Long id);

    void updateUser(User user);

    void deleteUser(Long id);

    void deleteBatch(List<Long> idList);

    User findUserByUserName(String userName);

    void updatePwd(User user);

    List<User> findBatch(List<Long> idList);
}
